﻿
Partial Class mobile_MobileAdmin
    Inherits System.Web.UI.MasterPage

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        If Roles.IsUserInRole("Role_Uni_Admin") Then
            Dim uni_id As Integer = ACSService.getAdminUni(Membership.GetUser.ProviderUserKey.ToString)
            UniID.Value = uni_id
            uniLabel.Text = ACSService.getUniName(uni_id)
        ElseIf Roles.IsUserInRole("Role_Super_Admin") Then
            uniLabel.Text = "Global"
        End If
    End Sub
End Class

